xen/arm: switch to dynamic allocation of vgic rank
authorVijaya Kumar K <Vijaya.Kumar@caviumnetworks.com>
Tue, 1 Jul 2014 06:41:14 +0000 (12:11 +0530)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 2 Jul 2014 11:27:06 +0000 (12:27 +0100)
commitd1556868967e217a563e50ee689b995257aef574
treee1ae733ed9bbe3323b79bc7a189410097bcb5e13
parent2df0c4c491b93207657fdabbb390702a43a5bee6
xen/arm: switch to dynamic allocation of vgic rank

vgic_irq_rank structure contains gic specific data elements.
Move this out of domain.h to new vgic header file vgic.h
Allocate memory dynamically in vgic driver.

This patch reduces the size of domain struct and helps to
keep domain struct within PAGE_SIZE when future GIC hw versions
are added

Signed-off-by: Vijaya Kumar K <Vijaya.Kumar@caviumnetworks.com>
Acked-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/domain.c
xen/arch/arm/vgic.c
xen/include/asm-arm/domain.h
xen/include/asm-arm/vgic.h [new file with mode: 0644]